/**
 * @author		Ben Layet
 * @version 	1.0
 * @date		25 Sep 2008
 */
package org.ignoramus.application.store;

import junit.framework.Assert;
import junit.framework.TestCase;

/**
 *  Test for LessonFile class.
 */
public class LessonFileTest extends TestCase
{
	/**
	 * Test Creating a lesson from a store.
	 */
	public void testGetData() throws Exception
	{
		LessonFile file = new LessonFile("junit/res/org/ignoramus/application/store/lesson.ign");

		Assert.assertNotNull(file.getCardsData());
		Assert.assertNotNull(file.getTemplateData());
		Assert.assertNotNull(file.getLogData());
	}
}
